<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>品酒争霸</title>
    <link rel="stylesheet" href="index.css">
    <link rel="stylesheet" href="../css/common.css">
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>

<body>
    <div id="app">
        <img src="../image/bj4.png" alt="" class="beijing">
        <!-- -->
        <div class="btn-box">
            <img src="../image/jiuzhidati.png" alt="" class="btn" @click="search(1)">
            <img src="../image/zhaolingshouji.png" alt="" class="btn" @click="search(2)">
        </div>
    </div>

    <script>
        var app = new Vue({
            el: "#app",
            data: {

            },
            methods: {
                search(type) {
                    if(type === 2){
                        window.open('/src/exhibition/index.html','_self') 
                    }else if(type === 1) {
                        window.open('/src/components/answer/index.html','_self') 
                    }
                },
            },
        });
    </script>
</body>

</html>